﻿using System.Web.Optimization;

namespace FikriKibar.UI.WebManagement
{
    public class BundleConfig
    {
        public static void RegisterBundles(BundleCollection bundles)
        {
            bundles.Add(
                new StyleBundle("~/Styles/bootstrap").Include(
                    "~/Assets/Styles/bootstrap.min.css",
                    "~/Assets/Styles/font-awesome.min.css",
                    "~/Assets/Styles/font-glyphicons.css",
                    "~/Assets/Styles/bootstrap-multiselect.css"
            ));

            bundles.Add(
                new StyleBundle("~/Styles/admin").Include(
                    "~/Assets/Styles/metisMenu.min.css",
                    "~/Assets/Styles/common.css"
                    ));

            bundles.Add(
                new StyleBundle("~/Styles/datatable").Include(
                    "~/Assets/Styles/jquery.dataTables.min.css",
                    "~/Assets/Styles/dataTables.bootstrap.css"
                    ));


            bundles.Add(
                new StyleBundle("~/Styles/home").Include(
                    "~/Assets/Styles/home.css"
                    ));

            bundles.Add(
                new StyleBundle("~/Styles/content").Include(
                    "~/Assets/Styles/datepicker.css",
                    "~/Assets/Styles/select2.css",
                    "~/Assets/Styles/content.css"
                    ));


            bundles.Add(
                new ScriptBundle("~/Scripts/bootstrap").Include(
                    "~/Assets/Scripts/jquery-2.1.4.min.js",
                    "~/Assets/Scripts/jquery-migrate-1.2.1.min.js",
                    "~/Assets/Scripts/bootstrap.min.js",
                    "~/Assets/Scripts/bootstrap-multiselect.js"
                    
                    ));

            bundles.Add(
                new ScriptBundle("~/Scripts/fix").Include(
                    "~/Assets/Scripts/respond.min.js",
                    "~/Assets/Scripts/html5shiv.min.js",
                    "~/Assets/Scripts/placeholder-IE-fixes.js"
                    ));

            bundles.Add(
                new ScriptBundle("~/Scripts/home").Include(
                    "~/Assets/Scripts/home.js"
                    ));

            bundles.Add(
                new ScriptBundle("~/Scripts/admin").Include(
                    "~/Assets/Scripts/metisMenu.min.js",
                    "~/Assets/Scripts/confirm-bootstrap.js",
                    "~/Assets/Scripts/jquery.countdown.js",
                    "~/Assets/Scripts/common.js"
                    ));

            bundles.Add(
                new ScriptBundle("~/Scripts/datatable").Include(
                    "~/Assets/Scripts/jquery.dataTables.min.js",
                    "~/Assets/Scripts/dataTables.bootstrap.js",
                    "~/Assets/Scripts/jquery-sortable.js"
                    ));


            bundles.Add(
                new ScriptBundle("~/Scripts/content").Include(
                    "~/Assets/Scripts/bootstrap-datepicker.js",
                    "~/Assets/Scripts/select2.min.js",
                    "~/Assets/Scripts/content.js"
                    ));

        }
    }
}